//引入模块
import Vue from 'vue'
//引入app组件
import App from './App'
import router from './router'


// import Vant from 'vant';
// import 'vant/lib/vant-css/index.css';
import { Swipe, SwipeItem,NavBar,Tabbar, TabbarItem} from 'vant';

Vue
.use(Swipe).use(SwipeItem)
.use(Tabbar).use(TabbarItem)
.use(NavBar)

// Vue.use(Vant);


//创建实例
new Vue ({
  el:'#app',
  router,
  render: c => c(App)
  // components:{
  //   App
  // },
  // template:'<App></App>'
})

